<?php

use Welcomescreen\Agavi\View;

class Backend_Visits_AddSuccessView extends View\BackendBaseView {
	
	/**
	 * @parameter  AgaviRequestDataHolder $rd
	 * @return     mixed
	 */
	public function executeJson(AgaviRequestDataHolder $rd) {
		return json_encode(array(
			'status' => 'success',
			'id' => $this->getAttribute('visit')->getId(),
		));
		
	}
}

?>